package visao;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;

import javax.swing.*;

@SuppressWarnings("serial")
public class GameScreen extends JFrame{
	public void ScreenWaitingGamers(){
		JFrame frame = new JFrame();
		frame.setSize(500, 500);
		frame.setBackground(Color.RED);
		frame.setLayout(new BorderLayout());
		
		JPanel painel = new JPanel();

		JTextArea texto = new JTextArea("ESPERANDO POR OUTROS JOGADRORES...");
		texto.setFont(new Font("Serif", Font.ITALIC, 22));
		texto.setEditable(false);
		painel.add(texto);

		frame.getContentPane().add(painel, BorderLayout.PAGE_END);

		frame.setVisible(true);
		
		
		
	}
}
